<script>

    for(var i=0;i<10;i++){
        
        console.log('i=',i);
    }

</script>